package com.jsy.mini12306.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Time;
import java.time.LocalTime;


/**
 * 车次行程列表(TrainPassStation)实体类
 *
 * @author: SongyangJi
 * @since: 2021-09-01 14:08:26
 * @description:
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TrainPassStation implements Serializable {
    private static final long serialVersionUID = 662150462376053256L;
    /**
     * 车次
     */
    private Integer trainId;
    /**
     * 站次
     */
    private Integer stationId;
    /**
     * 列车经停的顺序
     */
    private Integer sequence;
    /**
     * 到达时间
     */
    private LocalTime arrivalTime;
    /**
     * 发车时间
     */
    private LocalTime departTime;
    /**
     * 跨天
     */
    private Integer day;
    /**
     * 停留时间/分钟（拓展属性）
     */
    @TableField(exist = false)
    private Integer stayTime;
    /**
     * 运行时间/分钟（拓展属性）
     */
    @TableField(exist = false)
    private Integer totalTime;
    /**
     * 候车室
     */
    private String waitingRoom;
    /**
     * 检票口
     */
    private String ticketGate;
    /**
     * station_id 对应的实体类
     */
    @TableField(exist = false)
    private Station station;

}
